import request from './request.js'

const apiList = {
  getDogs: `/breeds/image/random`,
}

export default {
    getDogs (nums = 10) {
        return request.get(`${apiList.getDogs}/${nums}`)
    }
}